﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Publicuse.Entity.sqlsugar
{
    public class CustomConnectionConfig
    {
        /// <summary>
        /// 主数据库的链接
        /// </summary> 
        public string? MasterConnectionString { get; set; }

        /// <summary>
        /// 从库链接
        /// </summary>
        public List<SlaveConnectionInfo>? SlaveConnectionString { get; set; }

        public static ConnectionConfig connectionConfig { get; set; }= new ConnectionConfig();
    }

}
